package com.xej.seat.vo;

import java.io.Serializable;

public class ManualSeat implements Serializable {
	
	private static final long serialVersionUID = -13535904516139561L;
	
	private Integer row;
	private Integer column;
	
	public Integer getRow() {
		return row;
	}
	
	public void setRow(Integer row) {
		this.row = row;
	}
	
	public Integer getColumn() {
		return column;
	}

	public void setColumn(Integer column) {
		this.column = column;
	}

	@Override
	public boolean equals(Object obj) {
		Seat otherObj = (Seat) obj;
		Integer oRow = otherObj.getSrow();
		Integer oColumn = otherObj.getScol();
		if(this.row.equals(oRow) && this.column.equals(oColumn)) {
			return true;
		}
		return false;
	}
	
}
